package com.whut.mapper;

import com.whut.model.Judgeinfo;

import java.util.List;

public interface JudgeinfoMapper {

    void addJudgeInfo(Judgeinfo judgeinfo) ;

    int deleteByPrimaryKey(Integer mkey);

    int deleteBySpecialistId(Integer specialistId, Integer id3);

    int insert(Judgeinfo record);

    int insertSelective(Judgeinfo record);

    Judgeinfo selectByPrimaryKey(Integer mkey);

    int updateByPrimaryKeySelective(Judgeinfo record);

    int updateByPrimaryKey(Judgeinfo record);

    List<Integer> getAllId(int specialistId);

    float getPointById1AndId2(int specialistId,int id1,int id2);

    int updatePointById1AndId2AndSpecialistId(int id1, int id2, double point, int specialistId, int id3);

    Float getEveryLine(int id1,int id2,int specialistId);

    List<Integer> getAllId1(int specialistId, int id3);

    float getPointById1AndId21(int specialistId, Integer id1, Integer id2, int id3);

    Float getEveryLine1(int id1, int id2, int specialistId, int id3);

    void deleteById1(int id, int specialistId, int id3);
}